home *** CD-ROM | disk | FTP | other *** search
- Path: elna.ethz.ch!usenet
- From: Andreas Hoffmann <hoffmann@iha.bepr.ethz.ch>
- Newsgroups: comp.lang.c++
- Subject: VB40 - requires VC++ Constants. Where to get the values.....??
- Date: Tue, 26 Mar 1996 14:49:30 -0800
- Organization: Swiss Institute of Technology, Zurich
- Message-ID: <3158747A.9E6@iha.bepr.ethz.ch>
- NNTP-Posting-Host: iha024.ethz.ch
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I; 16bit)
- CC: Andreas Hoffmann <hoffmann@iha.bepr.ethz.ch>
-
- hello world,
-
- I am using VBasic40 on Win95. May this is the wrong forum, but I can
- try....
- So, I am writing an application in VB, which should allow to switch
- the resolution of the graphic-card without rebooting the system.
- There are SDK-functions in the MSDN, which are described to be used to
- perform the desired task.
- This description contains functions like, ChangeDisplaySettings,
- which uses constants, which values are not defined. that's sh..,
- because the VB-interpreter does not know, how to interpret the
- constants....
- a solution could be, that the desired constants are defined in any
- VC++ header. That's the reason, why I post the request into this
- group. I don't have access to VC++.
- Does anyone know, the values of the following constants out of a C++
- header?
- Or does anyone know, where to get the values.?
-
- CDS_UPDATEREGISTRY
- CDS_TEST
- CDS_FORCE
-
- DISP_CHANGE_SUCCESSFUL
- DISP_CHANGE_RESTART
- DISP_CHANGE_BADFLAGS
- DISP_CHANGE_FAILED
- DISP_CHANGE_BADMODE
- DISP_CHANGE_NOTUPDATED
-
- DM_BITSPERPEL
- DM_PELSWIDTH
- DM_PELSHEIGHT
- DM_DISPLAYFLAGS
- DM_DISPLAYFREQENCY
-
- I appreciate any repley....
- thanks a lot.!
- Andreas
-
-
- --------------------------------------------------------------------
- PLEASE RESPOND ALSO BY E-MAIL..!!
- --------------------------------------------------------------------
- Andreas Hoffmann
- Institute of Hygiene and Applied Physiology
- Swiss Federal Institute of Technology
- ETH Center
- CH-8092 Zurich
- Switzerland
-
- Phone : ++ 41-1-632 3987
- Fax : ++ 41-1-632 1173
- e-mail : hoffmann@iha.bepr.ethz.ch
- --------------------------------------------------------------------
-